from django.http import HttpResponse
from django.template.context import Context
from django.template.loader import get_template

def test_dajaxice(request):
    t = get_template('test_dajaxice.html')
    c = Context({'test_button_value': 'Alert message'})
    return HttpResponse(t.render(c))

def test_dajax(request):
    t = get_template('test_dajax.html')
    return HttpResponse(t.render(Context()))
